package com.fyx.entity;

import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.sql.Timestamp;
import java.util.List;

@Data
@Document(collection = "message")
public class MessageEntity {
    @Transient
    private List<Timestamp> qTime;

    @Field("_id")
    private String _id;

    private String  message;

    private long time;

    private String  pid;

    private int status;

    private long submit_time;

    private String submit_userId;

    private String submit_userName;

}

